<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="description" content="">
  <meta name="author" content="">
<title>添加成员</title>
 <link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  <link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
  <link href="vendor/datatables/dataTables.bootstrap4.css" rel="stylesheet">
  <link href="css/sb-admin.css" rel="stylesheet">
</head>
<body class="fixed-nav sticky-footer bg-dark" id="page-top">
<jsp:include page="header.jsp"/>
  <div class="content-wrapper">
          <table width="100%" border="0" cellpadding="0" cellspacing="0">
              <tr>
              <td>[添加成员]</td>
              <td align="right">
              <a href="javascript:document.getElementById('saveform').submit()" 
              class="nav-link-text">保存</a>
             &nbsp;&nbsp;
             <a href="javascript:history.go(-1)" 
              class="nav-link-text">返回</a>
              </td>
              </tr>
              </table>
          <s:form id="saveform" action="member_save" method="post" namespace="/" theme="simple">
            <table  class="table table-bordered">
                <tr>
                  <td>姓名:</td>
                  <td><s:textfield name="mname"/></td>
                  <td>性别:</td>
                  <td><s:radio name="sex" list="{'男','女'}"/></td>
                  </tr>
                  <tr>
                  <td>用户名:</td>
                  <td><s:textfield name="username"/></td>
                  <td>密码:</td>
                  <td><s:password name="password"/></td>
                  </tr>
                  <tr>
                <td>加入组织时间:</td>
                  <td><s:textfield name="joinDate"/></td>
                <td>职务:</td>
                  <td><s:textfield name="post"/></td>
                  </tr>
                  <tr>
                  <td>所属部门:</td>
                  <td><s:select name="department.did" list="list" listKey="did" listValue="dname" headerKey="" headerValue="----请--选--择----"/></td>
                </tr>
            </table>
            </s:form>
          </div>
    <jsp:include page="foot.jsp"/>
</body>
</html>